﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Vinetlife.Master" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="VINETLIFE.Dang_Ky" %>

<%@ Register Assembly="MSCaptcha" Namespace="MSCaptcha" TagPrefix="Captcha" %>
<%@ Register Src="Module/ucVnSuportVinetlife.ascx" TagName="ucVnSuportVinetlife" TagPrefix="uc3" %>
<%@ Register Src="Module/ucVnAboutVinetlife.ascx" TagName="ucVnAboutVinetlife" TagPrefix="uc4" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-container">
        <div class="main-container-inner">
            <div id="breadcrumb">
                <ul class="crumbs">
                    <li class="first"><a href="/" style="z-index: 9;" title="Trang chủ"><span></span>Trang chủ</a></li>
                    <li class="first"><a href="/dang-ky/" style="z-index: 8;" title="Đăng ký thành viên"><span></span>Đăng ký thành viên</a></li>
                </ul>
            </div>
            <div class="t-content-wrap">
                <div class="main-container-inner-left">
                    <%-- <div class="menu-content-wrap">
                          <uc2:ucFacebook runat="server" ID="ucFacebookX" />
                         </div> --%>
                    <uc3:ucVnSuportVinetlife ID="ucVnSuportVinetlife1" runat="server" />
                    <uc4:ucVnAboutVinetlife ID="ucVnAboutVinetlife1" runat="server" />
                </div>
                <div class="main-container-inner-right">
                    <div class="div-comment">
                        <div class="comment-box-out">
                            <div class="comment-box-register">
                                <div runat="server" id="divx">
                                </div>
                                <table class="table-comment">
                                    <tr>
                                        <td class="table-cm-l">Tên đăng nhập<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtUserName" runat="server" CssClass="comment-name" placeholder="Tên đăng nhập"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ValidationGroup="register"
                                                ControlToValidate="txtUserName"></asp:RequiredFieldValidator></td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Mật khẩu<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtPass" runat="server" CssClass="comment-name" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                                                ControlToValidate="txtPass" ValidationGroup="register"></asp:RequiredFieldValidator>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Nhập lại mật khẩu<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtPassword" runat="server" CssClass="comment-name" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*"
                                                ControlToValidate="txtPassword" ValidationGroup="register"></asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPass"
                                                ControlToValidate="txtPassword" ErrorMessage="*" ValidationGroup="register"></asp:CompareValidator></td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Họ tên<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">
                                            <asp:TextBox runat="server" ID="txtName" CssClass="comment-name" Style="margin-right: 3px"
                                                placeholder="Họ tên"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*"
                                                ForeColor="Red" ControlToValidate="txtName" ValidationGroup="register"></asp:RequiredFieldValidator>

                                        </td>
                                    </tr>

                                    <tr>
                                        <td class="table-cm-l">Người giới thiệu</td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtIntroductionName" runat="server" placeholder="Người giới thiệu" CssClass="comment-name"></asp:TextBox>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td class="table-cm-l">Địa chỉ</td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtAdress" runat="server" placeholder="Địa chỉ" CssClass="comment-name"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Email<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">

                                            <asp:TextBox runat="server" ID="txtEmail" CssClass="comment-email" placeholder="Email"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ValidationGroup="register"
                                                ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2"
                                                runat="server" ErrorMessage="Sai định dạng email" ForeColor="Red" ControlToValidate="txtEmail" ValidationGroup="register"
                                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Điện thoại
                                        </td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtPhone" runat="server" CssClass="comment-email" placeholder="Điện thoại"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ValidationGroup="register"
                                                ControlToValidate="txtPhone"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Giới tính</td>
                                        <td class="table-cm-r">
                                            <asp:RadioButton ID="rdoNam" Checked="true" Text="Nam" runat="server" GroupName="Source" />
                                            <asp:RadioButton ID="rdoNu" Text="Nữ" runat="server" GroupName="Source" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">Ngày sinh
                                        </td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtBirtday" runat="server" CssClass="comment-email" Width="150px" Format="dd/MM/yyyy" placeholder="ngày/tháng/năm"></asp:TextBox>
                                            <cc1:CalendarExtender runat="server" ID="X" TargetControlID="txtBirtday" Format="dd/MM/yyyy"></cc1:CalendarExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="table-cm-l">CMTND<span style="color: red; display: inline-block; margin: 0 0 0 5px;">*</span></td>
                                        <td class="table-cm-r">
                                            <asp:TextBox ID="txtCmnd" runat="server" Width="200px" CssClass="comment-name" placeholder="CMTND"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                                ControlToValidate="txtCmnd" ValidationGroup="register"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <%--<tr>
                                        <td class="table-cm-l">Mã bảo mật</td>
                                        <td class="table-cm-r">
                                             <div style="width: 110px; float: left; margin: 0px 0 0 0;padding:5px 0 0 0;border:1px solid #ddd;">
                                                <Captcha:CaptchaControl class="CapCha" ID="ccJoin" runat="server" validateIntegratedModeConfiguration="false"
                                                    CaptchaHeight="31" CaptchaWidth="110" CaptchaBackgroundNoise="None" CaptchaLineNoise="None"
                                                    CaptchaLength="5" Width="110px" ForeColor="Red" Font-Size="Medium" />
                                            </div>
                                            <div style="float:left;width:150px;">
                                            <asp:TextBox runat="server" ID="txtSecCode" CssClass="comment-code"
                                                placeholder="Mã bảo mật"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="*"
                                                ForeColor="Red" ControlToValidate="txtSecCode" ValidationGroup="comment"></asp:RequiredFieldValidator>
                                           </div>
                                        </td>
                                    </tr>--%>

                                    <tr>
                                        <td></td>
                                        <td>
                                            <asp:Button ID="btnSignUp" CssClass="btnLogin" runat="server" Text="Đăng ký" OnClick="btnDangky_Click" ValidationGroup="register" />
                                            <asp:Button ID="btnHuy" CssClass="btnLogin" runat="server" Text="Hủy" OnClick="btnhuy_Click"
                                                CausesValidation="False" /></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
